﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EDTLookUpForm.aspx.cs" Inherits="ERPWebDemos.Tools.EDTLookUpForm" %>

<%@ Register Assembly="RuleCode.Common" Namespace="RuleCode.Common" TagPrefix="cc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ Register Assembly="RuleCode.Common" Namespace="RuleCode.Controls" TagPrefix="cc1" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>   
    <style type="text/css">
        .*
        {
        	 font-size:small;
        	}
       .SelectButton
       {
         cursor:pointer ;
       }
    </style>     
</head>
<body>
    <form id="form1" runat="server">
    <div> 
    <table style ="width:430px;"><tr><td style ="text-align:left ;">
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <asp:Button ID="Button1"
            runat="server" Text="搜索" onclick="Button1_Click" />
        <asp:HyperLink ID="HyperLink1" runat="server">进入主窗体</asp:HyperLink>    
    </td><td style ="text-align:right ;">
        <asp:Button ID="Button_prior" runat="server" Text="<" 
                onclick="Button_prior_Click" />  <asp:DropDownList ID="DropDownList1" 
                runat="server" AutoPostBack="True" 
                onselectedindexchanged="DropDownList1_SelectedIndexChanged">
        </asp:DropDownList>
        <asp:Button ID="Button_next" runat="server" Text=">" onclick="Button_next_Click" />
    </td></tr></table> 

        <asp:GridView ID="MainGridView" AutoGenerateColumns ="False"  runat="server" 
         Width="100%"
            CssClass="MainGrid" onrowdatabound="MainGridView_RowDataBound" 
            AllowSorting="True" onsorted="MainGridView_Sorted" 
            onsorting="MainGridView_Sorting" BackColor="White" BorderColor="#DEDFDE" 
            BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" 
            GridLines="Vertical">
            <FooterStyle BackColor="#CCCC99" />
            <RowStyle BackColor="#F7F7DE" />
            <Columns>
                <asp:TemplateField HeaderText="选择"  ControlStyle-CssClass="Item" >
                    <ItemTemplate>
                        <input type="hidden"  id="BindFieldText"    runat="server" class="BindFieldText"/>
                        <input  type="button" value="选择" class="SelectButton"/>
                    </ItemTemplate> 

<ControlStyle CssClass="Item"></ControlStyle>
                </asp:TemplateField> 
            </Columns>
            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
        
    </div>
    </form>   
    <script src="/Javascript/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="/Javascript/jquery.extender.js" type="text/javascript"></script>
    <script src="/Javascript/LookupForm.js" type="text/javascript"></script>
    
</body>
</html>
